package com.hyy.api.domain.provider.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hyy.api.domain.provider.ProvCorporate;
import com.hyy.common.excel.annotation.ExcelDictFormat;
import com.hyy.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;



/**
 * 供应商公司信息视图对象 prov_corporate
 *
 * @author ruoyi
 * @date 2025-05-20
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ProvCorporate.class)
public class ProvCorporateVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 公司ID
     */
    @ExcelProperty(value = "公司ID")
    private Long id;

    /**
     * 公司名称
     */
    @ExcelProperty(value = "公司名称")
    private String name;


    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "prov_corporate_status")
    private Integer status;


}
